Optimal. Leaf size=53 \[ -\frac {2 A (a+b x)^{5/2}}{7 a x^{7/2}}+\frac {2 (2 A b-7 a B) (a+b x)^{5/2}}{35 a^2 x^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 53, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {79, 37}
\begin {gather*} \frac {2 (a+b x)^{5/2} (2 A b-7 a B)}{35 a^2 x^{5/2}}-\frac {2 A (a+b x)^{5/2}}{7 a x^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 79
Rubi steps
\begin {align*} \int \frac {(a+b x)^{3/2} (A+B x)}{x^{9/2}} \, dx &=-\frac {2 A (a+b x)^{5/2}}{7 a x^{7/2}}+\frac {\left (2 \left (-A b+\frac {7 a B}{2}\right )\right ) \int \frac {(a+b x)^{3/2}}{x^{7/2}} \, dx}{7 a}\\ &=-\frac {2 A (a+b x)^{5/2}}{7 a x^{7/2}}+\frac {2 (2 A b-7 a B) (a+b x)^{5/2}}{35 a^2 x^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.19, size = 36, normalized size = 0.68 \begin {gather*} -\frac {2 (a+b x)^{5/2} (5 a A-2 A b x+7 a B x)}{35 a^2 x^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 53, normalized size = 1.00
method | result | size |
gosper | \(-\frac {2 \left (b x +a \right )^{\frac {5}{2}} \left (-2 A b x +7 B a x +5 A a \right )}{35 x^{\frac {7}{2}} a^{2}}\) | \(31\) |
default | \(-\frac {2 \left (b x +a \right )^{\frac {3}{2}} \left (-2 A \,b^{2} x^{2}+7 B a b \,x^{2}+3 a A b x +7 a^{2} B x +5 a^{2} A \right )}{35 x^{\frac {7}{2}} a^{2}}\) | \(53\) |
risch | \(-\frac {2 \sqrt {b x +a}\, \left (-2 A \,b^{3} x^{3}+7 B a \,b^{2} x^{3}+a A \,b^{2} x^{2}+14 B \,a^{2} b \,x^{2}+8 a^{2} A b x +7 a^{3} B x +5 a^{3} A \right )}{35 x^{\frac {7}{2}} a^{2}}\) | \(76\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 176 vs.
\(2 (41) = 82\).
time = 0.27, size = 176, normalized size = 3.32 \begin {gather*} -\frac {2 \, \sqrt {b x^{2} + a x} B b^{2}}{5 \, a x} + \frac {4 \, \sqrt {b x^{2} + a x} A b^{3}}{35 \, a^{2} x} + \frac {\sqrt {b x^{2} + a x} B b}{5 \, x^{2}} - \frac {2 \, \sqrt {b x^{2} + a x} A b^{2}}{35 \, a x^{2}} + \frac {3 \, \sqrt {b x^{2} + a x} B a}{5 \, x^{3}} + \frac {3 \, \sqrt {b x^{2} + a x} A b}{70 \, x^{3}} - \frac {{\left (b x^{2} + a x\right )}^{\frac {3}{2}} B}{x^{4}} + \frac {3 \, \sqrt {b x^{2} + a x} A a}{14 \, x^{4}} - \frac {{\left (b x^{2} + a x\right )}^{\frac {3}{2}} A}{2 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.67, size = 74, normalized size = 1.40 \begin {gather*} -\frac {2 \, {\left (5 \, A a^{3} + {\left (7 \, B a b^{2} - 2 \, A b^{3}\right )} x^{3} + {\left (14 \, B a^{2} b + A a b^{2}\right )} x^{2} + {\left (7 \, B a^{3} + 8 \, A a^{2} b\right )} x\right )} \sqrt {b x + a}}{35 \, a^{2} x^{\frac {7}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 158 vs.
\(2 (49) = 98\).
time = 63.39, size = 158, normalized size = 2.98 \begin {gather*} A \left (- \frac {2 a \sqrt {b} \sqrt {\frac {a}{b x} + 1}}{7 x^{3}} - \frac {16 b^{\frac {3}{2}} \sqrt {\frac {a}{b x} + 1}}{35 x^{2}} - \frac {2 b^{\frac {5}{2}} \sqrt {\frac {a}{b x} + 1}}{35 a x} + \frac {4 b^{\frac {7}{2}} \sqrt {\frac {a}{b x} + 1}}{35 a^{2}}\right ) + B \left (- \frac {2 a \sqrt {b} \sqrt {\frac {a}{b x} + 1}}{5 x^{2}} - \frac {4 b^{\frac {3}{2}} \sqrt {\frac {a}{b x} + 1}}{5 x} - \frac {2 b^{\frac {5}{2}} \sqrt {\frac {a}{b x} + 1}}{5 a}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.38, size = 78, normalized size = 1.47 \begin {gather*} -\frac {2 \, {\left (b x + a\right )}^{\frac {5}{2}} b {\left (\frac {{\left (7 \, B a^{2} b^{6} - 2 \, A a b^{7}\right )} {\left (b x + a\right )}}{a^{3}} - \frac {7 \, {\left (B a^{3} b^{6} - A a^{2} b^{7}\right )}}{a^{3}}\right )}}{35 \, {\left ({\left (b x + a\right )} b - a b\right )}^{\frac {7}{2}} {\left | b \right |}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.76, size = 76, normalized size = 1.43 \begin {gather*} -\frac {\sqrt {a+b\,x}\,\left (\frac {2\,A\,a}{7}+\frac {x\,\left (14\,B\,a^3+16\,A\,b\,a^2\right )}{35\,a^2}-\frac {x^3\,\left (4\,A\,b^3-14\,B\,a\,b^2\right )}{35\,a^2}+\frac {2\,b\,x^2\,\left (A\,b+14\,B\,a\right )}{35\,a}\right )}{x^{7/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________